<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="../js/jquery-3.6.0.min.js"></script>
    <script src="../js/common.js"></script>
    <link rel="stylesheet" href="../css/callus.css">
    <script src="//api.map.baidu.com/api?type=webgl&v=1.0&ak=TTBDpUWkWBGWWWxlwut2sLyXXMW3o4ZG"></script>
</head>
<body>
<div>
    <div id="top"></div>
    <div class="middle">
        <div>
            <div class="title">联系我们</div>
            <div>

                <div>
                    <div>
                        <div>
                            <div>我们会做的更好!</div>
                            <div>WE WILL DO BETTER</div>
                        </div>
                        <div>如果您对我们有什么建议、投诉、需求，可以通过留言告诉我们，我们会在第一时间了 解并及时与您联系。</div>

                    </div>
                </div>
                <div class="content">

                    <div id="container" class="container"></div>
                </div>
            </div>
        </div>
    </div>
    <div id="foot"></div>
</div>

</body>
</html>
<script>
    var map = new BMapGL.Map('container'); // 创建Map实例
    var point = new BMapGL.Point(104.066239, 30.579353);
    map.centerAndZoom(point, 18); // 初始化地图,设置中心点坐标和地图级别
    map.enableScrollWheelZoom(true); // 开启鼠标滚轮缩放
    var marker = new BMapGL.Marker(point);
    map.addOverlay(marker);


    // 创建信息窗口
    var opts = {
        width: 200,
        height: 100,
        title: '万息科技'
    };
    var infoWindow = new BMapGL.InfoWindow('地址：成都市孵化园e座4楼2楼', opts);
    // 点标记添加点击事件
    marker.addEventListener('click', function () {
        map.openInfoWindow(infoWindow, point); // 开启信息窗口
    });
</script>